package DesignPatern.A08_调停者模式.A002_调停者模式解决;

/**
 * @Author: Du
 * @Date: 2021/7/23 9:13
 */
public abstract class AbstractMediator
{
    protected Purchase purchase;
    protected Sale sale;
    protected Stock stock;
    
    public AbstractMediator()
    {
        purchase = new Purchase(this);
        sale = new Sale(this);
        stock = new Stock(this);
    }
    
    public abstract void execute(String str, Object... objects);
}
